package com.asiainfo.ncrm.bean;

import com.asiainfo.ncrm.base.BaseBean;
import com.asiainfo.ncrm.util.AntConstant;
import com.asiainfo.ncrm.util.SharedUtil;


public class UserInfo extends BaseBean{
	
	private String partyId;
	private String partyName;
	private String partyImg;
	private String telPhone;
	private String createDate;
	private String status;
	private String password;
	private String areaId;
	private String isreal;
	private String realTime;
	private String shopId;
	private String urlParty;
	private String urlCard;
	private String idCard;
	private String realStatus;
	private String partyDeltailList;
	
	private String STAFF_NAME;
	
	private String LINK_TELE_NUMBER;
	
	private String PASSWORD;
	
	private String COMMON_REGION_ID;
	
	private String STAFF_ID;
	
	private String STAFF_CODE;
	
	private String STAFFNAME;
	
	private String SMS;//跳过短信验证权限
	
	private String md5Pwd;
	
	
	
	
	public String getSTAFF_NAME() {
		return STAFF_NAME;
	}
	public void setSTAFF_NAME(String sTAFF_NAME) {
		STAFF_NAME = sTAFF_NAME;
	}
	public String getLINK_TELE_NUMBER() {
		return LINK_TELE_NUMBER;
	}
	public void setLINK_TELE_NUMBER(String lINK_TELE_NUMBER) {
		LINK_TELE_NUMBER = lINK_TELE_NUMBER;
	}
	public String getPASSWORD() {
		return PASSWORD;
	}
	public void setPASSWORD(String pASSWORD) {
		PASSWORD = pASSWORD;
	}
	public String getCOMMON_REGION_ID() {
		return COMMON_REGION_ID;
	}
	public void setCOMMON_REGION_ID(String cOMMON_REGION_ID) {
		COMMON_REGION_ID = cOMMON_REGION_ID;
	}
	public String getSTAFF_ID() {
		return STAFF_ID;
	}
	public void setSTAFF_ID(String sTAFF_ID) {
		STAFF_ID = sTAFF_ID;
	}
	public String getSTAFF_CODE() {
		return STAFF_CODE;
	}
	public void setSTAFF_CODE(String sTAFF_CODE) {
		STAFF_CODE = sTAFF_CODE;
	}
	public String getPartyImg() {
		return partyImg;
	}
	public void setPartyImg(String partyImg) {
		this.partyImg = partyImg;
	}
	public String getPartyId() {
		return partyId;
	}
	public void setPartyId(String partyId) {
		this.partyId = partyId;
	}
	public String getPartyName() {
		return partyName;
	}
	public void setPartyName(String partyName) {
		this.partyName = partyName;
	}
	public String getTelPhone() {
		return telPhone;
	}
	public void setTelPhone(String telPhone) {
		this.telPhone = telPhone;
	}
	public String getCreateDate() {
		return createDate;
	}
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getAreaId() {
		return areaId;
	}
	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}
	public String getIsreal() {
		return isreal;
	}
	public void setIsreal(String isreal) {
		this.isreal = isreal;
	}
	public String getRealTime() {
		return realTime;
	}
	public void setRealTime(String realTime) {
		this.realTime = realTime;
	}
	public String getShopId() {
		return shopId;
	}
	public void setShopId(String shopId) {
		this.shopId = shopId;
	}
	public String getUrlParty() {
		return urlParty;
	}
	public void setUrlParty(String urlParty) {
		this.urlParty = urlParty;
	}
	public String getUrlCard() {
		return urlCard;
	}
	public void setUrlCard(String urlCard) {
		this.urlCard = urlCard;
	}
	public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	public String getRealStatus() {
		return realStatus;
	}
	public void setRealStatus(String realStatus) {
		this.realStatus = realStatus;
	}
	public String getPartyDeltailList() {
		return partyDeltailList;
	}
	public void setPartyDeltailList(String partyDeltailList) {
		this.partyDeltailList = partyDeltailList;
	}
	
	
	public void save(){
		SharedUtil.putString(AntConstant.SP_MOBILE, getPartyId());
		SharedUtil.putString(AntConstant.SP_PARTY_IMG, getPartyImg());
		SharedUtil.putString(AntConstant.SP_PARTY_NAME, getPartyName());
		SharedUtil.putString(AntConstant.SP_TEL_PHONE, getTelPhone());
		SharedUtil.putString(AntConstant.SP_CREATE_DATE, getCreateDate());
		SharedUtil.putString(AntConstant.SP_STATUS, getStatus());
		SharedUtil.putString(AntConstant.SP_PASSWORD, getPassword());
//		SharedUtil.putString(AntConstant.SP_CHOOSE_AREA_ID, getAreaId());
		SharedUtil.putString(AntConstant.SP_ISREAL, getIsreal());
		SharedUtil.putString(AntConstant.SP_REALTIME, getRealTime());
		SharedUtil.putString(AntConstant.SP_SHOPID, getShopId());
		SharedUtil.putString(AntConstant.SP_URL_PARTY, getUrlParty());
		SharedUtil.putString(AntConstant.SP_URL_CARD, getUrlCard());
		SharedUtil.putString(AntConstant.SP_ID_CARD, getIdCard());
		SharedUtil.putString(AntConstant.SP_REALSTATUS, getRealStatus());
		SharedUtil.putString("STAFF_NAME", getSTAFF_NAME());
		SharedUtil.putString("PASSWORD", getPASSWORD());
	}
	public String getSTAFFNAME() {
		return STAFFNAME;
	}
	public void setSTAFFNAME(String sTAFFNAME) {
		STAFFNAME = sTAFFNAME;
	}
	public String getSMS() {
		return SMS;
	}
	public void setSMS(String sMS) {
		SMS = sMS;
	}
	public String getMd5Pwd() {
		return md5Pwd;
	}
	public void setMd5Pwd(String md5Pwd) {
		this.md5Pwd = md5Pwd;
	}
	

}
